import React from "react";
import { Space, Image } from "antd-mobile";
// interface
import type { IProps } from "./index.d";
//style
import "./index.less";

const ImagesDetails: React.FC<IProps> = ({ fileImage }) => {
  return (
    <div className="imagesContainer">
      <Space wrap>
        {fileImage.map((item) => {
          return <Image key={item} src={item} />;
        })}
      </Space>
    </div>
  );
};

export default ImagesDetails;
